﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace miscellaneous
{
    /// <summary>
    /// Interaction logic for MultibindingStringFormat.xaml
    /// </summary>
    public partial class MultibindingStringFormat : Window
    {
        public MultibindingStringFormat()
        {
            InitializeComponent();
        }



        private void Window_Loaded(object sender, RoutedEventArgs e)
        {

            DataContext = new Person {FirstName = "Gustavo", LastName = "Cavalcanti", TransactionDate = DateTime.Parse("2008/02/26 15:41:00")};
        }
    }

    internal class Person: DependencyObject
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public DateTime TransactionDate { get; set; }
    }
}
